﻿using System;

namespace iRealtor.Maps.DataAccess.Models
{
	public class Place : Entity
	{
		public int PlaceId { get; set; }
		public string Name { get; set; }
		public string Description { get; set; }
		public double Longitude { get; set; }
		public double Latitude { get; set; }

		//Computed properties

		public string MapPoint
		{
			get { return string.Format("{0}, {1}", this.Latitude, this.Longitude); }
		}
	}
}
